package actions;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import data.*;
import beans.*;

//**********************************************************
// Author   : Corey Stone
// Date     : Dec. 2, 2011
// Abstract : This will allow the user to create a group
//			  so that other users can join that group
//			  Redirects to Groups.java
//**********************************************************

public class CreateGroup extends Action
{

	protected void setURLMapping()
	 {
	
		urlMapping = "/CreateGroup";
	}

	protected String doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
	{
	
		return "/WEB-INF/views/content/CreateGroup.jsp";
	}
	
	
	@Override
	protected void setupPage(HttpServletRequest request,
			HttpServletResponse response) throws ServletException, IOException {
		// TODO Auto-generated method stub
		request.setAttribute("pageTitle", "Create Group");
	}

	@Override
	protected String doPost(HttpServletRequest request,
			HttpServletResponse response) throws ServletException, IOException {
		// TODO Auto-generated method stub
		return null;
	}
}	